<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의 신</title>

	<link rel="stylesheet" type="text/css" href="/css/common.css" />
	<link rel="stylesheet" type="text/css" href="/css/join.css"/>
	<link rel="stylesheet" type="text/css" href="/css/sub.css"/>
	
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
	<script src="/js/utility/common_util.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			$(function(){
				var user_id = getCookie('saveId');
				//alert('user_id='+user_id);
				if (user_id != '') {
					$("#cookieSaveId").attr('checked','checked');
					$("#user_id").val(user_id);
				}
			});

			$("#frm").submit(function() {
				if ($("#cookieSaveId:checked").length == 1) {
					setCookie('saveId', $("#user_id").val(), 100);
				} else {
					setCookie('saveId', '', 100);
				}
			});
			
			// $("#frm button").click(function() {
				// $("#frm").submit();
				// return false;
			// });
			
			// setCookie('cookie_login_yn', 'Y', 100);
			// setCookie('cookie_login_yn', 'Y', 100);
		});
	</script>
</head>
<body>
<div id="wrap"> 
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header --> 
	
	<!--커튼 데코레이션-->
	
	<div class="drapes">
		<p class="drap1"><img src="/images/main/drapes.png" /></p>
		<p class="keybox blind keybox_none">키비쥬얼</p>
		<p class="drap2"><img src="/images/main/drapes.png" /></p>
	</div>
	<!--//커튼 데코레이션--> 
	
	<!-- Contents -->
	<div class="container">
		<h2 class="tlogin blind">로그인</h2>
		<!--서브타이틀-->
		
		<div class="contents">
			<div class="login"> <img src="/images/member/login_visual.png" alt="운신을 이용해주시는 고객여러분께 감사드립니다." />
				<?	if ($is_fail == 'Y') : ?>
				<div class="wrong">
					<dl class="wrong_text">
						<img src="/images/member/icon_wrong.png" alt="경고아이콘" />
						<dt>입력하신 회원아이디 또는 비밀번호가 일치하지 않습니다.</dt>
						<dd>회원아이디와 비밀번호를 다시 입력해 주십시오.</dd>
					</dl>
				</div>
				<!--wrong-->
				<?	endif ?>
				<div class="fbox">
					<div class="box">
						<div class="w_lg">
							<h3 class="blind">로그인</h3>
							<!--로그인박스-->
							<form method="post" id="frm" action="<?=SSL_ROOT_URL?>/member/login/check?return_url=/">
								<fieldset>
									<span class="ibg1"><input type="text" name="user_id" id="user_id" /></span>
									<span class="ibg2"><input type="password" name="pwd" id="pwd"/></span>
									<button title="검색" type="submit"></button>
									<span class="idck">
										<input type="checkbox" name="cookieSaveId" id="cookieSaveId" class="input_check" value="Y" style="vertical-align:text-bottom"/>
										<label for="cookieSaveId">ID 저장</label>
									</span>
								</fieldset>
							</form>
							<p class="member"><a href="/member/join"><strong>운신 회원가입</strong></a> <Em>|</Em> <a href="/member/login/find">아이디 / 비밀번호 찾기</a></p>
						</div>
						<!--//로그인박스--><!--w_lg-->
						<div class="benefit">
							<ul>
								<li><img src="/images/member/login_benefit1.png" alt="혜택1" /></li>
								<li><img src="/images/member/login_benefit2.png" alt="혜택2" /></li>
								<li class="end"><img src="/images/member/login_benefit3.png" alt="혜택3" /></li>
							</ul>
						</div>
						<!--benefit--> 
					</div>
					<!--box-->
                    <!--로그인부분 이벤트배너영역--> 
					<div class="login_banner">
                    <!--이벤트배너영역--> 
                    <div class="e_banner">
						<script language="javascript" src="http://ad1.sportschosun.com/js.kti/szo/unsin@sub"></script>
                    </div>
                    <!--//이벤트 탭-->
                    </div>
					<!--//이벤트배너영역--> 
                    </div>
                    <!--//로그인부분 이벤트배너영역--> 
				</div>
				<!--fbox--> 
			</div>
			<!--login--> 
		</div>
		
		<!--contents-->
		<div class="loginlist">
			<div class="line"></div>
			<div class="left"> 
				<!--추천테마-->
				<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/theme.php'; ?>
				<!--//추천테마--> 
			</div>
			<div class="left">
			
				<!--나와 같은 운명의 스타-->
				<?php echo $INC_STAR_TODAYBIRTH_LIST; ?>
				<!--//나와 같은 운명의 스타-->
			</div>
			<div class="left end">
				
				<!--실시간 운세차트-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/unse_chart.php'; ?>
			<!--//실시간운세차트-->
			</div>
		</div>
		<!--하단리스트컨텐츠영역--> 
		
	</div>
	<!--// Contents --> 
	
	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer --> 
</div>
</body>
</html>